<template>
	<div>
		<div class="tips">最多可添加5位住院人</div>
		<div class="back" @click="record">
			<div class="flex">
				<div class="people">蒋峰</div>
				<div class="hospital">住院中</div>
			</div>
			<div class="same" style="margin-top: -16rpx;">
				<span class="number">住院号</span>
				<span class="num">400909</span>
			</div>
			<div class="same">
				<span class="number">就诊卡号</span>
				<span>20209000709</span>
			</div>
			<div class="same">
				<span class="number">入院时间</span>
				<span>2020/10/09 09:00:00</span>
			</div>
			<div class="same" style="padding-bottom: 26rpx;">
				<span class="number">出院时间</span>
			</div>
		</div>
		<view class="btnst" @click="tobind">
			绑定新住院号
		</view>
	</div>

</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			tobind() {
				uni.navigateTo({
					url: "/hospitalizationServices/pages/charge/information"
				})
			}
		}
	}
</script>

<style>
	.btnst {
		font-family: 'PingFangHK-Regular', 'PingFang HK', sans-serif;
		font-weight: 400;
		height: 76rpx;
		font-size: 32rpx;
		color: #FFFFFF;
		text-align: center;
		line-height: 40rpx;
		border-radius: 8rpx;
		background-color: rgba(52, 120, 247, 1);
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 20rpx 20rpx 30rpx;
	}
	.tips {
		padding: 20rpx;
		font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
		font-weight: 400;
		font-style: normal;
		font-size: 24rpx;
		background-color: #fdf2e9;
		color: #FF9138;

	}

	* {
		margin: 0;
		padding: 0;
	}

	.text {
		margin: 30rpx;
		font-size: 36rpx;
	}

	.back {
		background: #f5f9ff;
		margin: 20rpx;
		border-radius: 10rpx;
		border: 1px solid #f2f2f2;
	}

	.people {
		font-size: 36rpx;
		margin-left: 20rpx;
	}

	.hospital {
		font-size: 30rpx;
		color: #03CA82;
		background-color: rgba(3, 202, 130, 0.2);
		margin: 40rpx;
		border-radius: 50rpx;
		padding: 6rpx 20rpx;
		font-weight: bold;
	}

	.flex {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.number {
		font-size: 32rpx;
		padding-left: 20rpx;
		color: #AAAAAA;
		margin-right: 28rpx;
	}

	.same {
		margin: 20rpx 0;
	}
</style>